<template>
  <div class="home content">
    <van-tabbar v-model="active" active-color="#42b983" inactive-color="#000">
      <van-tabbar-item @click="router('/orderlist')" icon="wap-home-o"
        >首页</van-tabbar-item
      >
      <van-tabbar-item @click="router('/my')" icon="contact"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
import { mapGetters } from 'vuex';
export default {
  name: 'home',
  data() {
    return {};
  },
  mounted() {},
  methods: {
    test() {},
  },
  components: {},
  computed: {
    ...mapGetters(['urlInfo']),
  },
};
</script>
